package com.example.demo.quartz.h3c;

import org.quartz.Job;

/**
 * ***************************************************************
 *
 * 定时任务参数DTO
 *
 * @author lFW2156
 * @date 2018年1月30日下午2:14:54
 * @since v1.0.0
 ***************************************************************
 */
public class QuartzTaskDTO{
	 
    /** 任务名称 */
    private String jobName;
    
    /** 任务分组 */
    private String jobGroup;
 
    /** 任务运行时间表达式 */
    private String cronExpression;
 
    /** 任务描述 */
	private String description;

    /** 任务执行类 */
	private Class<? extends Job> quartzJob;

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getJobGroup() {
		return jobGroup;
	}

	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Class<? extends Job> getQuartzJob() {
		return quartzJob;
	}

	public void setQuartzJob(Class<? extends Job> quartzJob) {
		this.quartzJob = quartzJob;
	}

	@Override
	public String toString() {
		return "QuartzTaskDTO{" +
				"jobName='" + jobName + '\'' +
				", jobGroup='" + jobGroup + '\'' +
				", cronExpression='" + cronExpression + '\'' +
				", description='" + description + '\'' +
				", quartzJob=" + quartzJob +
				'}';
	}
}
